Repository navigation
RFC 3: revised draft of tiled and multiscale points - #98
Draft
LucaMarconato wants to merge 6 commits into
Draft
LucaMarconato wants to merge 6 commits into
LucaMarconato wants to merge 6 commits into
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012ezPhPHi47e4jw4nHjqtBK
- Data model rebuilt on tiles, then a random value p per point that defines bands; levels are unions of bands. Default rates follow the ratio of tile volumes; any strictly decreasing rates are allowed. - Grids are declared per level; refinement is the only MUST, the merge rule is a recommended recipe, and a level may keep its grid. - No `limit`: offsets address rows; row groups and chunks are the writer's choice, aligned with tiles as a SHOULD. - Offsets are Zarr arrays in both formats: `tile_offsets` for the tile-major table and, per feature, for each feature-major table. - Metadata: a self-contained `spatial_index` convention with a version (0.1.0-draft), feature_keys and a list of levels; no multiscales. - New overview, levels-and-bands and orders figures; Summary table of MUST/SHOULD/MAY; related work and rejected alternatives updated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
LucaMarconato
temporarily deployed
to
preview
November 16, 2026 19:40 — with
GitHub Actions
Inactive
LucaMarconato
marked this pull request as draft
November 16, 2026 19:45
…o the input from list Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
LucaMarconato
temporarily deployed
to
preview
November 17, 2026 21:05 — with
GitHub Actions
Inactive
LucaMarconato
temporarily deployed
to
preview
November 17, 2026 21:12 — with
GitHub Actions
Inactive
RFC 3: sparse (CSR) feature index with a figure (dense shown as not viable); the same layout in Parquet and Zarr (spatial/, feature/), a Parquet sidecar listing the part files, their first rows and the global categories; offsets int32 or int64; p = k / 2^b stored as integers (p_bits); all axes in the grid; tile size for the typical tile and row groups of 100k-1M rows; per-row-group dictionaries; Zarr sharding; full reading pseudo-code; compatibility break; motivation from the benchmarks. RFC 4: optional, only for small shapes (rule of thumb with the kidney numbers); own grid per element, nested grids recommended; margin in spatial_index; table must annotate the shapes, rows in the order of the shapes, X_csc as a SHOULD; single level; limitations and possible extensions for large shapes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…, Marco Varrone, Mark Keller Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Luca · project thread
Revised draft of RFC 3 (tiled and multiscale points), from several review rounds.
Changes
pper point (stored in__spatialdata_p__) that defines bands; a level is the union of its band and all coarser bands. Default rates are the ratio of tile volumes (1/2^d per level when all axes merge); any strictly decreasing rates are allowed, andP(0) = 1is stated explicitly.limit: the offsets address rows. Row groups and chunks are the writer's choice, aligned with tiles as a SHOULD (with the reasons). Points per tile is now only guidance for choosing the tile size and the rates.tile_offsetsper band for the tile-major table, and per feature and band for each feature-major table. Chunking is a SHOULD.spatial_indexZarr convention withversion(0.1.0-draft),axes,feature_keysand alevelslist. No multiscales convention, and no coordinate-system name.breads a representative prefix of each tile.The commit
RFC 3: say tile-major order throughout; add the columns figurewas on the localrfcsbranch but never pushed, so it is included here.🤖 Generated with Claude Code